package com.xinyi.shicihui.pojo.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author xinyi
 * @desc
 * @date 2022/1/23
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class PoemResponseDto {

    private int code;
    private String message;
    private DataBean data;

    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class DataBean {
        /**
         * items : [{"id":59447,"name":"苏轼","familyName":"苏","pinYin":"su shi","pinYinWithTone":"sū shì","pinYinInitial":"SS","img":"sushi.jpg","intro":"苏轼（1037年1月8日-1101年8月24日）字子瞻、和仲，号铁冠道人、东坡居士，世称苏东坡、苏仙，汉族，眉州眉山（四川省眉山市）人，祖籍河北栾城，北宋著名文学家、书法家、画家，历史治水名人。苏轼是北宋中期文坛领袖，在诗、词、散文、书、画等方面取得很高成就。文纵横恣肆；诗题材广阔，清新豪健，善用夸张比喻，独具风格，与黄庭坚并称\u201c苏黄\u201d；词开豪放一派，与辛弃疾同是豪放派代表，并称\u201c苏辛\u201d；散文著述宏富，豪放自如，与欧阳修并称\u201c欧苏\u201d，为\u201c唐宋八大家\u201d之一。苏轼善书，\u201c宋四家\u201d之一；擅长文人画，尤擅墨竹、怪石、枯木等。作品有《东坡七集》《东坡易传》《东坡乐府》《潇湘竹石图卷》《古木怪石图卷》等。","dynasty":"宋代","dynastyId":8,"dynastyPinYin":"song","shiciCount":3268,"zi":"子瞻、和仲","youZi":null,"bieZi":null,"hao":"铁冠道人、东坡居士","youHao":null,"bieHao":null,"wanHao":null,"ming":null,"youMing":null,"otherHao":"苏东坡、苏仙","views":4382},{"id":59352,"name":"李白","familyName":"李","pinYin":"li bai","pinYinWithTone":"lĭ bái","pinYinInitial":"LB","img":"libai.jpg","intro":"李白（701年－762年） ，字太白，号青莲居士，又号\u201c谪仙人\u201d，唐代伟大的浪漫主义诗人，被后人誉为\u201c诗仙\u201d，与杜甫并称为\u201c李杜\u201d，为了与另两位诗人李商隐与杜牧即\u201c小李杜\u201d区别，杜甫与李白又合称\u201c大李杜\u201d。据《新唐书》记载，李白为兴圣皇帝（凉武昭王李暠）九世孙，与李唐诸王同宗。其人爽朗大方，爱饮酒作诗，喜交友。李白深受黄老列庄思想影响，有《李太白集》传世，诗作中多以醉时写的，代表作有《望庐山瀑布》《行路难》《蜀道难》《将进酒》《明堂赋》《早发白帝城》等多首。","dynasty":"唐代","dynastyId":6,"dynastyPinYin":"tang","shiciCount":1108,"zi":"太白","youZi":null,"bieZi":null,"hao":"青莲居士","youHao":"谪仙人","bieHao":null,"wanHao":null,"ming":null,"youMing":null,"otherHao":"李十二、李翰林、李拾遗","views":3533},{"id":59398,"name":"杜甫","familyName":"杜","pinYin":"du fu","pinYinWithTone":"dù fŭ","pinYinInitial":"DF","img":"dufu.jpg","intro":"杜甫（712－770），字子美，自号少陵野老，世称\u201c杜工部\u201d、\u201c杜少陵\u201d等，汉族，河南府巩县（今河南省巩义市）人，唐代伟大的现实主义诗人，杜甫被世人尊为\u201c诗圣\u201d，其诗被称为\u201c诗史\u201d。杜甫与李白合称\u201c李杜\u201d，为了跟另外两位诗人李商隐与杜牧即\u201c小李杜\u201d区别开来，杜甫与李白又合称\u201c大李杜\u201d。他忧国忧民，人格高尚，他的约1400余首诗被保留了下来，诗艺精湛，在中国古典诗歌中备受推崇，影响深远。759-766年间曾居成都，后世有杜甫草堂纪念。","dynasty":"唐代","dynastyId":6,"dynastyPinYin":"tang","shiciCount":1358,"zi":"子美","youZi":null,"bieZi":null,"hao":"少陵野老","youHao":null,"bieHao":null,"wanHao":null,"ming":null,"youMing":null,"otherHao":"杜工部、杜少陵","views":2541},{"id":59371,"name":"白居易","familyName":"白","pinYin":"bai ju yi","pinYinWithTone":"bái jū yì","pinYinInitial":"BJY","img":"baijuyi.jpg","intro":"白居易（772年－846年），字乐天，号香山居士，又号醉吟先生，祖籍太原，到其曾祖父时迁居下邽，生于河南新郑。是唐代伟大的现实主义诗人，唐代三大诗人之一。白居易与元稹共同倡导新乐府运动，世称\u201c元白\u201d，与刘禹锡并称\u201c刘白\u201d。白居易的诗歌题材广泛，形式多样，语言平易通俗，有\u201c诗魔\u201d和\u201c诗王\u201d之称。官至翰林学士、左赞善大夫。公元846年，白居易在洛阳逝世，葬于香山。有《白氏长庆集》传世，代表诗作有《长恨歌》、《卖炭翁》、《琵琶行》等。","dynasty":"唐代","dynastyId":6,"dynastyPinYin":"tang","shiciCount":3082,"zi":"乐天","youZi":null,"bieZi":null,"hao":"香山居士","youHao":"醉吟先生","bieHao":null,"wanHao":null,"ming":null,"youMing":null,"otherHao":null,"views":2104},{"id":59759,"name":"陶渊明","familyName":"陶","pinYin":"tao yuan ming","pinYinWithTone":"táo yuān míng","pinYinInitial":"TYM","img":"taoyuanming.jpg","intro":"陶渊明（352或365年\u2014427年），名潜，字渊明，又字元亮，自号\u201c五柳先生\u201d，私谥\u201c靖节\u201d，世称靖节先生，浔阳柴桑人。东晋末至南朝宋初期伟大的诗人、辞赋家。曾任江州祭酒、建威参军、镇军参军、彭泽县令等职，最末一次出仕为彭泽县令，八十多天便弃职而去，从此归隐田园。他是中国第一位田园诗人，被称为\u201c古今隐逸诗人之宗\u201d，有《陶渊明集》。","dynasty":"魏晋","dynastyId":3,"dynastyPinYin":"weijin","shiciCount":131,"zi":"渊明","youZi":"元亮","bieZi":null,"hao":"五柳先生","youHao":null,"bieHao":null,"wanHao":null,"ming":"潜","youMing":null,"otherHao":null,"views":2070},{"id":59980,"name":"王安石","familyName":"王","pinYin":"wang an shi","pinYinWithTone":"wáng ān shí","pinYinInitial":"WAS","img":"wanganshi.jpg","intro":"王安石（1021年12月18日－1086年5月21日），字介甫，号半山，谥文，封荆国公。世人又称王荆公。汉族，北宋抚州临川人（今江西省抚州市临川区邓家巷人），中国北宋著名政治家、思想家、文学家、改革家，唐宋八大家之一。欧阳修称赞王安石：\u201c翰林风月三千首，吏部文章二百年。老去自怜心尚在，后来谁与子争先。\u201d传世文集有《王临川集》、《临川集拾遗》等。其诗文各体兼擅，词虽不多，但亦擅长，且有名作《桂枝香》等。而王荆公最得世人哄传之诗句莫过于《泊船瓜洲》中的\u201c春风又绿江南岸，明月何时照我还。\u201d","dynasty":"宋代","dynastyId":8,"dynastyPinYin":"song","shiciCount":1880,"zi":"介甫","youZi":null,"bieZi":null,"hao":"半山","youHao":null,"bieHao":null,"wanHao":null,"ming":null,"youMing":null,"otherHao":null,"views":2066},{"id":59499,"name":"辛弃疾","familyName":"辛","pinYin":"xin qi ji","pinYinWithTone":"xīn qì jí","pinYinInitial":"XQJ","img":"xinqiji.jpg","intro":"辛弃疾（1140－1207），南宋词人。原字坦夫，改字幼安，别号稼轩，汉族，历城（今山东济南）人。出生时，中原已为金兵所占。21岁参加抗金义军，不久归南宋。历任湖北、江西、湖南、福建、浙东安抚使等职。一生力主抗金。曾上《美芹十论》与《九议》，条陈战守之策。其词抒写力图恢复国家统一的爱国热情，倾诉壮志难酬的悲愤，对当时执政者的屈辱求和颇多谴责；也有不少吟咏祖国河山的作品。题材广阔又善化用前人典故入词，风格沉雄豪迈又不乏细腻柔媚之处。由于辛弃疾的抗金主张与当政的主和派政见不合，后被弹劾落职，退隐江西带湖。","dynasty":"宋代","dynastyId":8,"dynastyPinYin":"song","shiciCount":870,"zi":"坦夫、幼安","youZi":null,"bieZi":null,"hao":"稼轩","youHao":null,"bieHao":"稼轩","wanHao":null,"ming":null,"youMing":null,"otherHao":null,"views":2031},{"id":60254,"name":"李贺","familyName":"李","pinYin":"li he","pinYinWithTone":"lĭ hè","pinYinInitial":"LH","img":"lihe.jpg","intro":"李贺（约公元790年-约817年），字长吉，汉族，唐代河南福昌（今河南洛阳宜阳县）人，家居福昌昌谷，后世称李昌谷，是唐宗室郑王李亮后裔。有\u201c诗鬼\u201d之称，是与\u201c诗圣\u201d杜甫、\u201c诗仙\u201d李白、\u201c诗佛\u201d王维相齐名的唐代著名诗人。著有《昌谷集》。李贺是中唐的浪漫主义诗人，与李白、李商隐称为唐代三李。有\u201c\u2018太白仙才，长吉鬼才\u2019之说。李贺是继屈原、李白之后，中国文学史上又一位颇享盛誉的浪漫主义诗人。李贺长期的抑郁感伤，焦思苦吟的生活方式，元和八年（813年）因病辞去奉礼郎回昌谷，27岁英年早逝。","dynasty":"唐代","dynastyId":6,"dynastyPinYin":"tang","shiciCount":245,"zi":"长吉","youZi":null,"bieZi":null,"hao":null,"youHao":null,"bieHao":null,"wanHao":null,"ming":null,"youMing":null,"otherHao":null,"views":1875},{"id":59804,"name":"孟浩然","familyName":"孟","pinYin":"meng hao ran","pinYinWithTone":"mèng hào rán","pinYinInitial":"MHR","img":"menghaoran.jpg","intro":"孟浩然（689-740），男，汉族，唐代诗人。本名不详（一说名浩），字浩然，襄州襄阳（今湖北襄阳）人，世称\u201c孟襄阳\u201d。浩然，少好节义，喜济人患难，工于诗。年四十游京师，唐玄宗诏咏其诗，至\u201c不才明主弃\u201d之语，玄宗谓：\u201c卿自不求仕，朕未尝弃卿，奈何诬我？\u201d因放还未仕，后隐居鹿门山，著诗二百余首。孟浩然与另一位山水田园诗人王维合称为\u201c王孟\u201d。","dynasty":"唐代","dynastyId":6,"dynastyPinYin":"tang","shiciCount":326,"zi":"浩然","youZi":null,"bieZi":null,"hao":null,"youHao":null,"bieHao":null,"wanHao":null,"ming":null,"youMing":null,"otherHao":null,"views":1756},{"id":60447,"name":"孟郊","familyName":"孟","pinYin":"meng jiao","pinYinWithTone":"mèng jiāo","pinYinInitial":"MJ","img":"mengjiao.jpg","intro":"孟郊，(751～814)，唐代诗人。字东野。汉族，湖州武康（今浙江德清）人，祖籍平昌（今山东临邑东北），先世居洛阳（今属河南）。唐代著名诗人。现存诗歌500多首，以短篇的五言古诗最多，代表作有《游子吟》。有\u201c诗囚\u201d之称，又与贾岛齐名，人称\u201c郊寒岛瘦\u201d。元和九年，在阌乡(今河南灵宝)因病去世。张籍私谥为贞曜先生。","dynasty":"唐代","dynastyId":6,"dynastyPinYin":"tang","shiciCount":425,"zi":"东野","youZi":null,"bieZi":null,"hao":null,"youHao":null,"bieHao":null,"wanHao":null,"ming":null,"youMing":null,"otherHao":null,"views":1684}]
         * skip : 0
         * total : 20088
         * totalPage : 2009
         * page : 1
         * size : 10
         * maxPageNum : null
         */

        private int skip;
        private int total;
        private int totalPage;
        private int page;
        private int size;
        private Object maxPageNum;
        private List<ItemsBean> items;

        @NoArgsConstructor
        @AllArgsConstructor
        @Data
        public static class ItemsBean {
            /**
             * id : 59447
             * name : 苏轼
             * familyName : 苏
             * pinYin : su shi
             * pinYinWithTone : sū shì
             * pinYinInitial : SS
             * img : sushi.jpg
             * intro : 苏轼（1037年1月8日-1101年8月24日）字子瞻、和仲，号铁冠道人、东坡居士，世称苏东坡、苏仙，汉族，眉州眉山（四川省眉山市）人，祖籍河北栾城，北宋著名文学家、书法家、画家，历史治水名人。苏轼是北宋中期文坛领袖，在诗、词、散文、书、画等方面取得很高成就。文纵横恣肆；诗题材广阔，清新豪健，善用夸张比喻，独具风格，与黄庭坚并称“苏黄”；词开豪放一派，与辛弃疾同是豪放派代表，并称“苏辛”；散文著述宏富，豪放自如，与欧阳修并称“欧苏”，为“唐宋八大家”之一。苏轼善书，“宋四家”之一；擅长文人画，尤擅墨竹、怪石、枯木等。作品有《东坡七集》《东坡易传》《东坡乐府》《潇湘竹石图卷》《古木怪石图卷》等。
             * dynasty : 宋代
             * dynastyId : 8
             * dynastyPinYin : song
             * shiciCount : 3268
             * zi : 子瞻、和仲
             * youZi : null
             * bieZi : null
             * hao : 铁冠道人、东坡居士
             * youHao : null
             * bieHao : null
             * wanHao : null
             * ming : null
             * youMing : null
             * otherHao : 苏东坡、苏仙
             * views : 4382
             */

            private String id;
            private String name;
            private String familyName;
            private String pinYin;
            private String pinYinWithTone;
            private String pinYinInitial;
            private String img;
            private String intro;
            private String dynasty;
            private String dynastyId;
            private String dynastyPinYin;
            private String shiciCount;
            private String zi;
            private String youZi;
            private String bieZi;
            private String hao;
            private String youHao;
            private String bieHao;
            private String wanHao;
            private String ming;
            private String youMing;
            private String otherHao;
            private String views;
        }
    }
}
